keep a straight face
Don't show one's feelings, especially refrain from laughing. For example,
The school orchestra played so many wrong notes that I had trouble keeping a straight face
.
[
Late 1800s
]